package com.qinggeng.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import com.qinggeng.framework.web.domain.BaseEntity;

/**
 * 用户礼品对象 user_gift
 * 
 * @author qinggeng
 * @date 2020-07-15
 */
@Data
public class UserGift extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long userGiftId;

    /** 礼品类型 10=签到礼品 */
    @Excel(name = "礼品类型 10=签到礼品")
    private String giftType;


    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String goodsImg;

    /** 状态 00=未使用 10=已使用 */
    @Excel(name = "状态 00=未使用 10=已使用")
    private String status;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    public Long getUserGiftId() {
        return userGiftId;
    }

    public void setUserGiftId(Long userGiftId) {
        this.userGiftId = userGiftId;
    }

    public String getGiftType() {
        return giftType;
    }

    public void setGiftType(String giftType) {
        this.giftType = giftType;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userGiftId", getUserGiftId())
            .append("giftType", getGiftType())
            .append("goodsName", getGoodsName())
            .append("goodsImg", getGoodsImg())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
